package com.xmtlxx.web.controller.center.service;

import com.xmtlxx.oms.domain.Box;
import com.xmtlxx.oms.domain.OperatorLog;
import com.xmtlxx.oms.domain.Staging;
import com.xmtlxx.oms.domain.bo.TaskBo;
import com.xmtlxx.system.domain.SysOss;
import com.xmtlxx.tms.domain.bo.OrderBo;
import com.xmtlxx.tms.domain.bo.WaybillBo;
import com.xmtlxx.wms.domain.Inventory;

import java.util.List;

public interface ICommonService {

    OperatorLog saveOperatorLog(String objid, String type, String content);

    void savePropertyLog(String pno,String objid,String name,String buss,String content,Long deptId,String info,String storeId,Long nums,List<SysOss> ossList);

    void savePropertyLogByOperator(String pno,String objid,String name,String buss,String content,Long deptId,String info,String storeId,Long nums,List<SysOss> ossList,String operator);

    void saveOrderLog(OrderBo bo,String logType);

    void saveWaybillLog(WaybillBo bo,String logType);

    void saveStoreLog(TaskBo bo);

    void sendSysNotice(String noticeType,List<String> toUsers,Long deptId,String title,String contentInfo,String payload);

    void orderPush(String id);

    void taskPush(String id,String action);

    void saveBoxDept(Box box);

    void saveInventoryLog(Inventory inventory,Long befores,Long nums,Long afters,String objid,String type);

    void autographPush(String handoverId);

    void dealPush(String dealId);

    Boolean StagingDelPush(Staging staging);
}
